<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
    <title>{$t['title']} - {:set('title')} </title>
	<meta name="keywords" content="{$t['keywords']}">
	<meta name="description" content="{$t['description']}">
    {include file="header"}
    <link rel="stylesheet" href="*ADMIN*/wangEditor/css/wangEditor.min.css">
    <script type="text/javascript" src="*ADMIN*/wangEditor/js/wangEditor.min.js"></script>
</head>
<body>
<section class="aui-flexView">
	<header class="aui-navBar aui-navBar-fixed animated slideInDown">
		<a href="{:url('index/model/cate',array('alias'=>$cate.alias))}" class="aui-navBar-item left">
			<i class="iconfont">&#xe61a;</i>返回
		</a>
		<div class="aui-center">
			<!--<div class="title">-->
			<!--    <marquee scrollamount="5">{$t['title']}</marquee>-->
			<!--</div>-->
		</div>
		{if user('userid')}
		<a href="{:url('index/user/set')}" class="aui-navBar-item">
			<i class="iconfont">&#xe697;</i>
		</a>
		{else/}
		<a href="javascript:;" class="aui-navBar-item yemianf" w="100%" title="注册登录" tblr="b" h="80%" anim="2" url="{:url('index/user/login')}">
			<i class="iconfont">&#xe697;</i>
		</a>
		{/if}
	</header>
	<section class="aui-scrollView">
	    <div class="fn-clear newsArticle">
            <div class="l">
                <img src="{$t.pic}" onerror="javascript:this.src='{:m()}/img/pic.jpg';" width="100%">
            </div>
            <!-- 基本信息 -->
            <div class="r">
                <h1>{$t['title']}</h1>
                <h2>{:cut_c(htmlspecialchars_decode($t['content']),80)}</h2>
                <p class="price ">
                    <span class="pr"><i class="iconfont">&#xe616;</i><strong>{:fun_st('point_note',array('tid'=>$t.id,'title'=>'付费阅读'.$t.m))}</strong></span>
                    <span class="discount">已售</span>
                </p>
            </div>
        </div>
        <div class="newsArticle">
            <div class="n_article_tit">
                <h1>商品介绍</h1>
                <div class="content_p">
                    <div class="wangEditor-container" style="border: 0px solid #e6e6e6;margin-bottom: 30px">
        		        <div class="wangEditor-txt" style="padding: 0;">
                            {$t.content}
                        </div>
                    </div>
                </div>
            </div>
        </div>
	</section>
	<footer class="aui-footer aui-footer-fixed">
	    {if $fufei==1}
	    <div class="pinview del_t" name="确定要付费{$t['jifen']}{:set('jifen',2)}购买该商品吗？" url="{:url('index/api/fufei',array('id'=>$t.id,'m'=>$t.m))}" style="margin-right: 30px;">
	        <div class="aui-search-box">
	            <i class="iconfont">&#xe605;</i>
	            <span class="ico-fixed">立即抢购</span>
	            <input type="text" placeholder="支付 {$t['jifen']} {:set('jifen',2)}" disabled="disabled">
			</div>
	    </div>
	    {else/}
	    <a href="{$t['fujian']}" class="link-buy">
    	    <div class="pinview" style="margin-right: 30px;">
    	        <div class="aui-search-box">
    	            <span class="ico-fixed">点击下载</span>
    	            <input type="text" placeholder="您已支付 {$t['jifen']} {:set('jifen',2)}" disabled="disabled">
    			</div>
    	    </div>
	    </a>
        {/if}
	    <a href="javascript:;" class="aui-tabBar-item dianzan" zan="{$t['zan']+1}" url="{:url('index/api/zan',array('id'=>$t.id,'m'=>$t.m))}">
            <span class="aui-tabBar-item-icon">
                <i class="iconfont">&#xe610;</i>
            </span>
			<span class="aui-tabBar-item-text">点赞(<span class="dianzans"> {$t['zan']}</span> )</span>
		</a>
		<a href="javascript:;" class="aui-tabBar-item shoucang" url="{:url('index/api/shoucang',array('id'=>$t.id,'m'=>$t.m))}">
            <span class="aui-tabBar-item-icon">
                <i class="iconfont">&#xe60f;</i>
            </span>
			<span class="aui-tabBar-item-text shoucangy">{if fun_st('shoucang',array('m'=>$t.m,'tid'=>$t.id,'uid'=>user('userid')))>0}收藏成功{else/}收藏{/if}</span>
		</a>
	</footer>
</section>
</body>
</html>
